package day06;

import java.io.File;
import java.util.Arrays;

/**
 * 获取并输出当前目录下所有文件的名字
 * @author Bonnie
 *
 */
public class Test06 {
    public static void main(String[] args) {
        File file = new File("./Home_Work/src/day06");
        System.out.println(Arrays.toString(file.listFiles(o2->!o2.isDirectory())));
    }
}
